package de.gis;

import java.io.File;

import android.text.Editable;

public class DocumentDescription {


	private File imageFile;
	private float lat;
	private float lng;
	private CharSequence tag;


	public DocumentDescription(File imageFile, float lat, float lng, Editable tag) {
		this.imageFile = imageFile;
		this.lat = lat;
		this.tag = tag;
		this.lng = lng;
	}


	public String toJson() {
		StringBuffer requestData = new StringBuffer();
		requestData.append("{ \"lat\":" + lat + ",\"lng\":" + lng
				+ ",\"tag\":\"" + tag.toString() + "\"}");
		return requestData.toString();
	}


	public File getImageFile() {
		return imageFile;
	}
	
	
}
